package com.example.mybatisplusdemo.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.example.mybatisplusdemo.model.domain.AuditMessage;
import com.example.mybatisplusdemo.model.vo.AuditMessageVO;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author lxp
 * @since 2025-07-05
 */
public interface AuditMessageMapper extends BaseMapper<AuditMessage> {

    Page<AuditMessageVO> listPagingAuditMessagesByMerchantIdWithStoreInfo(@Param("page") Page<AuditMessageVO> page, @Param("merchantId") Long merchantId);
}
